Smartling\DbAl\DB A

Total Complexity 59
Dependencies 15
Dependents 3
Total lines 431
Lines of code 273
Logical lines of code 129
Comment lines 38
Methods 35
Properties 3

Methods 35

Method Rating Maintainability Complexity Lines of code
schemaUpdate()
S
50 4 30
getCharsetCollate()
S
58 4 15
getIndex()
S
58 3 16
installDb()
S
57 3 16
prepareSql()
S
57 3 16
install()
S
61 3 14
uninstall()
S
62 3 11
setSchemaVersion()
S
56 2 19
getPrimaryKey()
S
67 3 8
buildTableDefinitions()
S
53 1 27
fetchPrepared()
S
68 2 7
fetch()
S
68 2 7
arrayToSqlColumn()
S
64 2 10
loggedQuery()
S
69 2 7
activate()
S
68 2 8
query()
S
80 1 3
__construct()
S
71 1 6
getLastErrorMessage()
S
81 1 3
queryPrepared()
S
78 1 3
getLastInsertedId()
S
82 1 3
prepare()
S
79 1 3
getBasePrefix()
S
82 1 3
logFailedQuery()
S
78 1 3
getCollate()
S
81 1 3
completeMultisiteTableName()
S
80 1 3
completeTableName()
S
80 1 3
escape()
S
80 1 3
getMigrationManager()
S
80 1 3
getCharset()
S
81 1 3
getSchema()
S
80 1 3
getTableName()
S
79 1 3
deactivate()
S
91 1 2
getSchemaVersion()
S
78 1 3
getWpdb()
S
82 1 3
getPrefix()
S
82 1 3